
//
//  LCXQViewController.m
//  yonghu
//
//  Created by mac on 2018/3/20.
//  Copyright © 2018年 com.DJS. All rights reserved.
//

#import "LCXQViewController.h"
#import "LSXQView.h"
@interface LCXQViewController ()
@property(nonatomic,strong)LSXQView *aView;
@end

@implementation LCXQViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title=@"律师详情";
    
    
    _aView=[LSXQView new];
    [self.view addSubview:_aView];
    [_aView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.top.bottom.mas_equalTo(0);
    }];
    _aView.viewController=self;
    [self loadData];
}

-(void)loadData{
    NSNumber *waiter_id=[_dic objectForKey:@"waiter_id"];
    NSString *waiter_id1=[NSString stringWithFormat:@"%@",waiter_id];
    NSDictionary *dic=[NSDictionary dictionaryWithObjectsAndKeys:waiter_id1,@"waiter_id", nil];
    [ZQTools AFNPostDataUrl:@"user/waiter/get_waiter_evaluate" Dict:dic andTableView:nil andViewController:self andSuccessBlock:^(id responseObject) {
        _aView.dic=responseObject;
        [_aView creatView];
    } anderrorBlock:nil ];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
